﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchWorkHeader.ascx.vb"
    Inherits="WebForm_ManageWorkContent_SearchWorkHeader" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<table>
    <tr>
        <td align="right">
            <asp:Label ID="lblOrganization" runat="server" meta:resourcekey="lblOrganization"></asp:Label>
        </td>
        <td align="left">
            <asp:DropDownList ID="ddlOrganization" runat="server" AutoPostBack="false">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td align="right">
            <asp:Label ID="lblCreateType" runat="server" meta:resourcekey="lblCreateType"></asp:Label>
        </td>
        <td align="left">
            <asp:DropDownList ID="ddlCreateType" runat="server" AutoPostBack="false">
            </asp:DropDownList>
        </td>
    </tr>     
    <tr>
        <td align="right">
            <asp:Label ID="lblStatus" runat="server" meta:resourcekey="lblStatus"></asp:Label>
        </td>
        <td align="left">
            <asp:DropDownList ID="ddlStatus" runat="server" AutoPostBack="false">
            </asp:DropDownList>
        </td>
        <td align="left">
            <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
        </td>
    </tr>   
</table>
<br />
<My:MyGridView ID="gv" runat="server" SkinID="pager" AllowHoverSelect="True" DataKeyNames="WorkHeaderID"
    AllowHoverEffect="True" MySortDirection="Ascending">
    <Columns>
        <asp:BoundField DataField="OrganizationName" meta:resourcekey="bfOrganizationName" />
        <asp:BoundField DataField="WorkName" meta:resourcekey="bfWorkName" />
        <asp:BoundField DataField="VolunteerName" meta:resourcekey="bfCreateBy" />
        <asp:BoundField DataField="CreateDate" dataformatstring="{0:yyyy/MM/dd}" meta:resourcekey="bfCreateDate" >
                    <itemstyle horizontalalign="Center" />
        </asp:BoundField>
    </Columns>
</My:MyGridView>
